Skip to content

feat: generate macrosan charm#762

Open
ahmad-can wants to merge 3 commits intocanonical:mainfrom
ahmad-can:feature/generate-macrosan-charm
Open

feat: generate macrosan charm#762
ahmad-can wants to merge 3 commits intocanonical:mainfrom
ahmad-can:feature/generate-macrosan-charm

Conversation

@ahmad-can
Copy link
Copy Markdown

@ahmad-can ahmad-can commented Apr 9, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new MacroSAN storage backend implementation and corresponding unit tests to integrate the cinder-volume-macrosan charm into Sunbeam’s storage backend framework.

Changes:

  • Introduce MacrosanBackend + MacrosanConfig with secret-marked password fields and protocol selection.
  • Add MacroSAN-specific unit tests (backend interface + config validation).
  • Register MacroSAN in shared backend test fixtures and uniqueness/expectations checks.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
sunbeam-python/sunbeam/storage/backends/macrosan/backend.py Implements MacroSAN backend + config model for deployment/terraform var generation.
sunbeam-python/sunbeam/storage/backends/macrosan/init.py Declares the MacroSAN backend package.
sunbeam-python/tests/unit/sunbeam/storage/backends/conftest.py Adds macrosan_backend fixture and includes MacroSAN in parametrized backend testing.
sunbeam-python/tests/unit/sunbeam/storage/backends/test_common.py Extends backend uniqueness and expectation tests to include MacroSAN.
sunbeam-python/tests/unit/sunbeam/storage/backends/test_macrosan.py Adds MacroSAN backend tests and protocol validation tests.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread sunbeam-python/sunbeam/storage/backends/macrosan/backend.py Outdated
Comment thread sunbeam-python/sunbeam/storage/backends/macrosan/backend.py Outdated
Comment thread sunbeam-python/sunbeam/storage/backends/macrosan/backend.py
@ahmad-can ahmad-can force-pushed the feature/generate-macrosan-charm branch from 9b10de7 to a1f3733 Compare April 21, 2026 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants